package com.yaowk.sfp.common.db;

import javax.persistence.MappedSuperclass;
import java.io.Serializable;

/**
 * @author 小凯
 **/
@MappedSuperclass
public abstract class SortedEntity<ID extends Serializable> extends BaseEntity<ID> {

    @GeneratorNote("排序，大的靠前")
    private Byte sort;

    public Byte getSort() {
        return sort;
    }

    public void setSort(Byte sort) {
        this.sort = sort;
    }
}
